home *** CD-ROM | disk | FTP | other *** search
/ ZAM 2 / ZAM 2.adf / PowerMenu.doc / PowerMenu.doc
Text File  |  1990-09-07  |  4KB  |  159 lines

  1. ####################################################################
  2. ####                                ####
  3. ####               POWER-MENU V2.0  -  DOCS            ####
  4. ####                                ####
  5. ####              - Public Domain -            ####
  6. ####                                ####
  7. ####          - by METALLION of KEFRENS in 1990 -        ####
  8. ####                                ####
  9. ####################################################################
  10.  
  11.  
  12.  
  13. CONTENTS:    <0>    Introduction
  14.         <1>    Syntax of PowerMenu
  15.         <2>    Textfile
  16.         <3>    Fontfile
  17.         <4>    Point color
  18.         <5>    Shadow color
  19.  
  20.  
  21.  
  22.  
  23. =====================================================================
  24. INTRODUCTION:                            <0>
  25. =====================================================================
  26.  
  27. PowerMenu is a utility for those who are fed up with the standard DOSwindow.
  28. PM gives you the possibility of making your own textmenu (80x32 chars).
  29. PM must be run from CLI (who uses the SleepBench anyway??)
  30. First you have to type in your own text-menu in a text editor.
  31. AND you MUST copy the "RUN"-command to C-directory.
  32. Text-colors and program-names should be set up in the textfile. (see <2>)
  33.  
  34. When at the menu;    press left  mousebutton to execute a program
  35.             press right mousebutton to see dos-screen
  36.             press both  mousebuttons to quit menu
  37.  
  38. About PM:
  39. This first release was coded by Metallion of Kefrens summer 1990.
  40. The created screen is no system-opened screen, but own copper etc.
  41. PM is Public Domain, sooo go ahead....
  42.  
  43. Bugs:
  44. ????????  What's bugs ????????
  45.  
  46.  
  47.  
  48. =====================================================================
  49. SYNTAX :                            <1>
  50. =====================================================================
  51.  
  52. 1> PowerMenu textfile[,fontfile,pointcolor,shadowcolor]
  53.  
  54.  
  55. Eks.:        PowerMenu mytext
  56.         - load & write mytext
  57.         - use default font
  58.         - use default colors
  59.  
  60.         PowerMenu mytext,,$fff,$444
  61.         - load & write mytext
  62.         - use default font
  63.         - use white pointcolor
  64.         - use dark gray shadowcolor
  65.  
  66.         PowerMenu mytext,myfont,$fe0,$00f
  67.         - load & write mytext
  68.         - use myfont to write text
  69.         - use yellow pointcolor
  70.         - use blue shadowcolor
  71.  
  72.  
  73.  
  74. =====================================================================
  75. TEXTFILE :                            <2>
  76. =====================================================================
  77.  
  78. To use PM you have to write a menu-text in your favorite text-editor.
  79. The size of the text may be:
  80.         - max. 80 chars pr. line
  81.         - max. 32 lines
  82.  
  83. In the textfile you are able to set up colors for each textline
  84. and tell PM which programs can be executed.
  85.  
  86. Syntax:        [XY;@filename]
  87.  
  88. Eks.:        [11;]        ; make textcolor white  -> red
  89.         [;program]    ; executes "program" if clikked by mouse
  90.         [40;dir df0:]    ; make textcolor yellow -> black
  91.                   & executes "dir df0:" if clikked by mouse
  92.         [;@program]    ; QUIT menu & execute program (@=quit)
  93.  
  94.  
  95. XY:        Makes colors (like the dos-command: STRIPES)
  96.  
  97.         X (0-7):    Choose which color:
  98.                 0 : gray
  99.                 1 : red
  100.                 2 : green
  101.                 3 : blue
  102.                 4 : yellow
  103.                 5 : blue/green
  104.                 6 : violet
  105.                 7 : special ?
  106.  
  107.         Y (0-1):    Fade black/white
  108.                 0 : fade to black
  109.                 1 : fade to white
  110.  
  111.  
  112.  
  113. =====================================================================
  114. FONTFILE :                            <3>
  115. =====================================================================
  116.  
  117. The fontfile must be a RAW data file and can be created with
  118. PowerFonts 8 (another Metallion utility).
  119. (length of fontfile: 768 bytes)
  120. NB: system bitmap-fonts can NOT be used here.
  121.  
  122.  
  123.  
  124. =====================================================================
  125. POINTCOLOR :                            <4>
  126. =====================================================================
  127.  
  128. The color (cursor) to point out a textline
  129. if the line contains a name of a executeable file.
  130.  
  131. Syntax:        $RGB    - normal RGB-color (R=red/G=green/B=blue)
  132.  
  133. Eks.:        $f00    - red
  134.         $0f0    - green
  135.         $00f    - blue
  136.         $fff    - white.....
  137.  
  138. [;]        NO cursor here (cos' no filename)
  139. [;dir]        Make cursor to indikate a executeable file.
  140.  
  141.  
  142.  
  143. =====================================================================
  144. SHADOWCOLOR :                            <5>
  145. =====================================================================
  146.  
  147. The color of the textshadow. !!
  148. (ya' know 2 bitplanes, one with normal textcolor and one with shadowcolor)
  149. See "pointcolor" !
  150.  
  151. =====================================================================
  152.             This is Public Domain so
  153.               use it til' you drop.
  154.  
  155.             METALLION / KEFRENS 1990
  156.  
  157. =====================================================================
  158.  
  159.